package com.cho3.net;


import com.cho3.entity.UpdateInfo;
import com.cho3.net.bean.BaseEntity;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * @author yemao
 * @date 2017/4/9
 * @description API接口!
 */

public interface APIFunction {

    //检查js bundle 版本有没有更新
    @GET("version/getSdk")
    Observable<BaseEntity<UpdateInfo>> checkJsBundleUpdate(@Query("version") String version, @Query("clientType") String clientType);
}
